package pit.com.ordermobilesystem.http;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public interface Parser<T extends HttpModel> {

    public abstract T parse(JSONObject json) throws JSONException;
    public T parse(String content);
    public Group parse(JSONArray array) throws JSONException;
}
